const router=require('koa-router')()
const {register,login}=require('../controller/user')
router.post('/register',register)
router.post('/login',login)
module.exports=router